//
//  PAEnvironment.h
//  eChart
//
//  Created by Sunny on 13-10-10.
//  Copyright (c) 2013年 Sunny. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import "SNGlobal.h"
//#import "SNColor.h"
#import "UIDefine.h"
#import "UIView+PSSizes.h"
#import "BaseViewController.h"
#import "UIColor+Hex.h"
#import "BaseViewController.h"


typedef void (^SNObjBlock)(id object);

#ifndef __OPTIMIZE__

#define DLog(...) NSLog(__VA_ARGS__)

#else

#define DLog(...)

#endif



#define App (AppDelegate *)[[UIApplication sharedApplication] delegate]



/** iPhone的屏幕宽度 */
#define SCREEN_WIDTH  [[UIScreen mainScreen] bounds].size.width
/** iPhone的屏幕高度 */
#define SCREEN_HEIGHT  [[UIScreen mainScreen] bounds].size.height

static inline BOOL isIOS7AndBeyond() {
    return [[[UIDevice currentDevice] systemVersion] doubleValue]>=7.0;
}




